//package com.tutorials.rockrabbitmqamqptutorials.listene;
//
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//@Component
//public class DirectReceiver {
//
//  @RabbitHandler
//  @RabbitListener(queues = "test_direct_queue")
//  public void deviceReportOnlineState(String message) {
//    System.out.println("DirectReceiver消费者受到消息 :" + new String(message));
//  }
//
//}
